package com.xn2001.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 网关启动类：
 * 先启动nacos注册中心
 * 然后启动UserApplication和OrderApplication
 * 最后启动GatewayApplication
 * 就可以访问了 http://localhost:10010/order/101
 */
@SpringBootApplication
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class,args);
    }
}
